// 文件路径: src/main/java/com/macro/mall/tiny/modules/oms/dto/CartChangeSkuParam.java
package com.macro.mall.tiny.modules.oms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

@Data
@Schema(description = "购物车更换SKU参数")
public class CartChangeSkuParam {

    @NotNull(message = "购物车ID不能为空")
    @Schema(description = "购物车ID")
    private Integer cartId;

    @NotNull(message = "新的SKU ID不能为空")
    @Schema(description = "新的产品id")
    private Integer newSkuId;

    @Schema(description = "新的商品数量")
    private Integer qty;
}
